package com.pi.iot.repository.huawei.util;

public class CallbackUriManager {
  private static final String DEVICE_ALL_CALLBACK = "/device/callback";
  private static final String DEVICE_ADDED_CALLBACK_URL = "/device/addDevice";
  private static final String DEVICE_INFO_CHANGED_CALLBACK_URL = "/device/updateDeviceInfo";
  private static final String DEVICE_DATA_CHANGED_CALLBACK_URL = "/device/updateDeviceData";
  private static final String DEVICE_DELETED_CALLBACK_URL = "/device/deletedDevice";
  private static final String MESSAGE_CONFIRM_CALLBACK_URL = "/device/commandConfirmData";
  private static final String SERVICE_INFO_CHANGED_CALLBACK_URL = "/device/updateServiceInfo";
  private static final String COMMAND_RSP_CALLBACK_URL = "/device/commandRspData";
  private static final String DEVICE_EVENT_CALLBACK_URL = "/device/DeviceEvent";
  private static final String RULE_EVENT_CALLBACK_URL = "/device/RulEevent";
  private static final String DEVICE_DATAS_CHANGED_CALLBACK_URL = "/device/updateDeviceDatas";
  public static final String REPORT_CMD_EXEC_RESULT_CALLBACK_URL = "/na/iocm/devNotify/v1.1.0/reportCmdExecResult";
  public static String getReportCmdExecResultCallbackUrl(String host) {
    return host + REPORT_CMD_EXEC_RESULT_CALLBACK_URL;
  }
  public static String getDeviceAllCallback(String host) {
    return host + DEVICE_ALL_CALLBACK;
  }
  public static String getDeviceAddedCallbackUrl(String host) {
    return host + DEVICE_ADDED_CALLBACK_URL;
  }
  public static String getDeviceInfoChangedCallbackUrl(String host) {
    return host + DEVICE_INFO_CHANGED_CALLBACK_URL;
  }
  public static String getDeviceDataChangedCallbackUrl(String host) {
    return host + DEVICE_DATA_CHANGED_CALLBACK_URL;
  }
  public static String getDeviceDeletedCallbackUrl(String host) {
    return host + DEVICE_DELETED_CALLBACK_URL;
  }
  public static String getMessageConfirmCallbackUrl(String host) {
    return host + MESSAGE_CONFIRM_CALLBACK_URL;
  }
  public static String getServiceInfoChangedCallbackUrl(String host) {
    return host + SERVICE_INFO_CHANGED_CALLBACK_URL;
  }
  public static String getCommandRspCallbackUrl(String host) {
    return host + COMMAND_RSP_CALLBACK_URL;
  }
  public static String getDeviceEventCallbackUrl(String host) {
    return host + DEVICE_EVENT_CALLBACK_URL;
  }
  public static String getRuleEventCallbackUrl(String host) {
    return host + RULE_EVENT_CALLBACK_URL;
  }
  public static String getDeviceDatasChangedCallbackUrl(String host) {
    return host + DEVICE_DATAS_CHANGED_CALLBACK_URL;
  }
}
